﻿#pragma once

#include <QObject>
#include <deque>
#include "MarketDataSource.h"

class SpecialPriceSeacher : public QObject
{
	Q_OBJECT

public:
	SpecialPriceSeacher(QObject *parent);
	~SpecialPriceSeacher();
	// 寻找K线的起点（起点与上一个K线终点不同的起点）
	void FindDiffValueOpenPrice(const std::string &pSymbolName, const std::string &pDay);

private:
	void findDiffOpenPrice(std::deque<MData::PriceItem> &todayPriceList, time_t &pDataTime);
};
